home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
lib
/
include
/
netinet
/
RCS
/
udp.h,v
< prev
Wrap
Text File
|
1988-06-29
|
1KB
|
68 lines
head 1.2;
access ;
symbols ;
locks ; strict;
comment @ * @;
1.2
date 88.06.29.15.11.44; author ouster; state Exp;
branches ;
next 1.1;
1.1
date 88.06.21.11.59.35; author ouster; state Exp;
branches ;
next ;
desc
@@
1.2
log
@Add ifdefs to keep files from being processed twice.
@
text
@/*
* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of California at Berkeley. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*
* @@(#)udp.h 7.2 (Berkeley) 12/7/87
*/
#ifndef _UDP
#define _UDP
/*
* Udp protocol header.
* Per RFC 768, September, 1981.
*/
struct udphdr {
u_short uh_sport; /* source port */
u_short uh_dport; /* destination port */
short uh_ulen; /* udp length */
u_short uh_sum; /* udp checksum */
};
#endif _UDP
@
1.1
log
@Initial revision
@
text
@d15 3
d28 2
@